package com.softer.ztb.mapper;

import com.softer.ztb.entity.SysMenu;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
/**
 * HomeMapper class
 * @author zcz
 * @date 2019/1/16
 */
@Mapper
@Repository
public interface HomeMapper {
     /**
      * 查询菜单
      * @param userName
      * @return
      */
     List<SysMenu> getMenu(String userName);
}
